package com.roncoo.education.db.dao;

import com.roncoo.education.db.entity.MyCollection;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface MyCollectionDao {

    Long insert(MyCollection news);

    List<MyCollection> findByBean(MyCollection news);

    MyCollection findById(Long id);

    Integer findByBeanCount(MyCollection news);

    void deleteById(MyCollection news);

    void deleteByBean(MyCollection news);

    void updateById(MyCollection news);

    List<MyCollection> selectMyCollectionList(MyCollection news);
}
